/**
 * Created by 星月 on 2017/9/26.
 */
public class TointJavaple {
    public static void main(String args[]){
        int x,y,z;
        x=1;
        y=2;
        z=(x+y>3?x++:++y);
        System.out.println("x="+x);
        System.out.println("y="+y);
        System.out.println("z="+z);
    }
}

